package com.guigu.xm.yy.mapper;

import com.guigu.xm.pojo.MDesignProcedure;

import java.util.List;

public interface MDesignProcedureMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MDesignProcedure record);
    //添加工序设计
    int add(MDesignProcedure mDesignProcedure);

    MDesignProcedure selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MDesignProcedure record);

    int updateByPrimaryKey(MDesignProcedure record);

//    int add(MDesignProcedure mDesignProcedure);

    List<MDesignProcedure> all(MDesignProcedure mDesignProcedure);
    //获取设计编号
    String selId();
    //多表查询工序
    List<MDesignProcedure> dbcha(String productId);
    //修改审核状态
    int update(MDesignProcedure mDesignProcedure);
    //查询所有状态
    List<MDesignProcedure> cha(MDesignProcedure mDesignProcedure);
    //下拉框取值
    List<MDesignProcedure> xlk();
    //工序物料设计查
    List<MDesignProcedure> list();
    //工序物料设计条件查询制定
    List<MDesignProcedure> slal(String designId);
    //修改物料设计标志
    int upzt(String procedureId);

    //工序物料设计查审核
    List<MDesignProcedure> list1();
    //修改审核物料设计单
    int upshwl(MDesignProcedure mDesignProcedure);

    //查询所有物料状态
    List<MDesignProcedure> cha1(MDesignProcedure mDesignProcedure);

    List<MDesignProcedure> allGxu(String parent_id);

}